package org.zfes.snowier.zbss.xzy.face.biz;
import java.io.Serializable;

import org.zfes.snowier.core.util.ZBeanUtil;

public class UserFaceInfo implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public UserFaceInfo() {}
	public UserFaceInfo(Long id) {
		this.setId(id);
	}
	private Long id;
	//<-------------------------------------------->
	public UserFaceInfo(UserFaceInfo newone) {
		ZBeanUtil.copy(newone, this, true);
	}
 
	@javax.validation.constraints.NotBlank(message="姓名不能为空")
	@javax.validation.constraints.NotNull(message="姓名不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=63,message="姓名长度不能大于63")
	  private java.lang.String name;
	@javax.validation.constraints.NotBlank(message="电话不能为空")
	@javax.validation.constraints.NotNull(message="电话不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="电话长度不能大于20")
	  private java.lang.String phone;
	@org.hibernate.validator.constraints.Length(min=0,max=40,message="邮箱长度不能大于40")
	  private java.lang.String email;
	  private java.lang.Integer age;
	  private java.lang.Integer gender;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="上传图片长度不能大于255")
	  private java.lang.String facePic;
	  private byte[] faceFeature;
 
	
	//<-------------------------------------------->
		
		public Long getId() {
			return id;
		}
		public void setId(Long id) {
			this.id = id;
		}
	  
	public UserFaceInfo setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}

	public java.lang.String getName(){
		return this.name;
	}
	public UserFaceInfo setPhone(java.lang.String phone){
		this.phone=phone==null?null:phone.trim();
	 return this;
	}
	public java.lang.String getPhone(){
		return this.phone;
	}
	public UserFaceInfo setEmail(java.lang.String email){
		this.email=email==null?null:email.trim();
	 return this;
	}
	public java.lang.String getEmail(){
		return this.email;
	}
	public UserFaceInfo setAge(java.lang.Integer age){
	 this.age=age;
	 return this;
	}
	public java.lang.Integer getAge(){
		return this.age;
	}
	public UserFaceInfo setGender(java.lang.Integer gender){
	 this.gender=gender;
	 return this;
	}
	public java.lang.Integer getGender(){
		return this.gender;
	}
	public UserFaceInfo setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public UserFaceInfo setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public UserFaceInfo setFacePic(java.lang.String facePic){
		this.facePic=facePic==null?null:facePic.trim();
	 return this;
	}
	public java.lang.String getFacePic(){
		return this.facePic;
	}
	public UserFaceInfo setFaceFeature(byte[] faceFeature1){
	 this.faceFeature=faceFeature1;
	 return this;
	}
	public byte[] getFaceFeature(){
		return this.faceFeature;
	}

}
